package com.css.contentcenter.study.feignClient;

import com.css.contentcenter.study.config.UserCenterFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "user-center", configuration = UserCenterFeignConfiguration.class)
public interface UserCenterFeignClient {
    @GetMapping("/users/{id}")
    String getId(@PathVariable String id);
}
